/**
 * 定义ra中面板 ad
 * name属性没有指定
 */
Ext.define('Risk.view.ru.RuPowerResult', {
    extend: 'Ext.form.FieldSet',
    alias: 'widget.powresult',
    title: '变压因子【Ct】和缩减因子【Ru】',
    layout:  {
        type: 'table',
        columns: 2,
    },
    initComponent: function() {
      //初始化Window中的内容
    	this.items = [
    	              {
    	            	 xtype:'fieldcontainer',
    	            	 layout:'vbox',
    	            	 items:[
		    	            	 {
		    	            		 width:240,
		    		                xtype:'combo',
		    		                forceSelection :true,
		    		                fieldLabel :'变压因子',
		    		                name:'ct'
		    	            	 },
		    	            	 {
		    	            		 xtype:'numberfield',
		    	            		 fieldLabel: '变压器因子【Ct】',
		    	            		 hideTrigger:true,
		    	            		 readOnly : true
		    	            	 }
    	            	    ]
    	              },
    	              {
    	            	  margin:'0 0 0 30',
    	            	  width:680,
    	            	  xtype:'fieldcontainer',
    	            	  layout:'vbox',
    	            	  items:[
		    	            	 {
		    	            		width:240,
		    		                xtype:'combo',
		    		                forceSelection :true,
		    		                fieldLabel :'缩减因子',
		    		                name:'ru'
		    	            	 },
		    	            	 {
		    	            		 xtype:'numberfield',
		    	            		 fieldLabel: '缩减因子【ru】',
		    	            		 hideTrigger:true,
		    	            		 name:'ruResult',
		    	            		 readOnly : true
		    	            	 }
    	            	     ]
    	              }
        ];
        this.callParent(arguments);
        
    }
    
});